SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 50911: Facts might not be deleted when loading new data using the SAS® Financial Management load base data jobs in SAS® Data Integration Studio

DetailsAboutRate It

In SAS Financial Management, you can load transactions using the Load Data Wizard in SAS Financial Management Studio, the fm_1100_load_base_data job or the fm_1100_load_base_data_unlock_periods in SAS Data Integration Studio, or user-written code that calls either the %ETLLDFCT macro or the %ETLLDFTU macro.

When you use the jobs in SAS Data Integration Studio or user-written code, you must specify the dimension member selection list to use in selecting which transactions are loaded. Here is an example:

data WORK.BASE_FACT_dimMbrSelection;    length SAS_DIM_CODE SAS_MBR_CODE $32 ;    SAS_DIM_CODE = "TIME";    SAS_MBR_CODE = "YR2MTH12";    output;    SAS_DIM_CODE = "ANALYSIS";    SAS_MBR_CODE = "ACTUAL";    output;    SAS_DIM_CODE = "ANALYSIS"    SAS_MBR_CODE = "BUDGET";    output;    SAS_DIM_CODE = "CUSTOMER";    SAS_MBR_CODE = "C00001";    output ; run;

It is important to note that the observations in this table must be in dimension type order as shown above.

If the dimension member selection table contains observations that are not sorted by dimension type (as shown below) and you select Replace all, the existing fact records for these crossing might not be deleted. This could result in the fact values being inadvertently doubled.

data WORK.BASE_FACT_dimMbrSelection;    length SAS_DIM_CODE SAS_MBR_CODE $32;    SAS_DIM_CODE = "TIME";    SAS_MBR_CODE = "YR2MTH12";    output;    SAS_DIM_CODE = "ANALYSIS";    SAS_MBR_CODE = "ACTUAL";    output;    SAS_DIM_CODE = "CUSTOMER";    SAS_MBR_CODE = "C00001";    output;    SAS_DIM_CODE = "ANALYSIS";    SAS_MBR_CODE = "BUDGET";    output; run;

To correct this problem, unzip this ZIP file and extract the contents to the relevant location:

Windows: installation_drive:\Program Files\SASHome\SASFoundation\9.3\finance\sasmacro directory

UNIX: SAS_93/sasmacro/finance


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Financial ManagementMicrosoft® Windows® for x645.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows 8 Enterprise 32-bit5.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows 8 Enterprise x645.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows 8 Pro 32-bit5.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows 8 Pro x645.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows Server 2003 Datacenter Edition5.3_M19.3 TS1M2
Microsoft Windows Server 2003 Enterprise Edition5.3_M19.3 TS1M2
Microsoft Windows Server 2003 Standard Edition5.3_M19.3 TS1M2
Microsoft Windows Server 2003 for x645.3_M19.3 TS1M2
Microsoft Windows Server 20085.3_M19.3 TS1M2
Microsoft Windows Server 2008 R25.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows Server 2008 for x645.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows Server 2012 Datacenter5.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows Server 2012 Std5.3_M19.3 TS1M29.4 TS1M0
Microsoft Windows XP Professional5.3_M19.3 TS1M2
Windows 7 Enterprise 32 bit5.3_M19.3 TS1M2
Windows 7 Enterprise x645.3_M19.3 TS1M29.4 TS1M0
Windows 7 Home Premium 32 bit5.3_M19.3 TS1M2
Windows 7 Home Premium x645.3_M19.3 TS1M2
Windows 7 Professional 32 bit5.3_M19.3 TS1M2
Windows 7 Professional x645.3_M19.3 TS1M29.4 TS1M0
Windows 7 Ultimate 32 bit5.3_M19.3 TS1M2
Windows 7 Ultimate x645.3_M19.3 TS1M2
Windows Vista5.3_M19.3 TS1M2
Windows Vista for x645.3_M19.3 TS1M2
64-bit Enabled AIX5.3_M19.3 TS1M29.4 TS1M0
64-bit Enabled Solaris5.3_M19.3 TS1M29.4 TS1M0
HP-UX IPF5.3_M19.3 TS1M29.4 TS1M0
Linux for x645.3_M19.3 TS1M29.4 TS1M0
Solaris for x645.3_M19.3 TS1M29.4 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.